package pc29;

import java.util.Scanner;

public class J03NumberME {
	public static void main(String[] args) {
		
		int MYNUMBER = 500;
		int num;
		
		Scanner sc = new Scanner(System.in);
		
		System.out.println("세자리 숫자 입력해 : ");
		
		while(sc.hasNext()){
			num = sc.nextInt();
			
			if(MYNUMBER == num)
				System.out.println("정답");
			
			else if(MYNUMBER > num)
				System.out.println("숫자가 작습니다");
			
			else if(MYNUMBER < num)
			System.out.println("숫자가 큽니다");
		}
		sc.close();
	}
}
